from back.web.yawHisShow import *
from back.web.yawOnlShow import *
from back.web.pitchHisShow import *
from back.web.pitchOnlShow import *
from back.web.torqueHisShow import *
from back.web.torqueCompareShow import *
from back.web.torqueOnlShow import *
from back.web.yamlConfig import *
from back.web.csvShow import *
from back.web.upload import *
from pywebio import *
pywebioList = [
        yaw_hisInitialData,  #
        yaw_hisCleanProcess,
        yaw_hisGroupProcess,
        yaw_hisSmoothProcess,
        yaw_hisSurfaceProcess,
        yaw_hisSurfaceAxes,
        yaw_hisSubSurfaceAxes,
        yaw_hisLineRegress,

        yaw_onlInitialData, #
        yaw_onlCleanProcess,
        yaw_onlGroupProcess,
        yaw_onlSmoothProcess,
        yaw_onlFusionProcess,
        yaw_onlSurfaceProcess,
        yaw_onlSurfaceAxes,
        yaw_onlSurfacePlotProcess,
        yaw_onlLineRegress,   #不要
        yaw_lineCompareProcess,
        yaw_powerCompareProcess,

        pitch_hisInitialData,
        pitch_hisCleanProcess,
        pitch_hisGroupProcess,
        pitch_hisSmoothProcess,
        pitch_hisSurfaceProcess,
        pitch_hisSurfaceAxes,
        pitch_hisSubSurfaceAxes,
        pitch_hisLineRegress,

        pitch_onlInitialData,
        pitch_onlCleanProcess,
        pitch_onlGroupProcess,
        pitch_onlSmoothProcess,
        pitch_onlSurfaceProcess,
        pitch_onlSurfaceAxes,
        pitch_onlSubSurfaceAxes,
        pitch_onlLineRegress, #不要
        pitch_lineCompareProcess,

        torque_hisInitialData,
        torque_hisCleanProcess,
        torque_hisLambdaOptProcess,
        torque_onlInitialData,
        torque_onlCleanProcess,
        torque_onlLambdaProcess, #不要
        torque_lambdaCompareProcess,
        torque_lambdaOptCompareProcess,

        yaml_yaw,
        yaml_pitch,
        yaml_torque,
        yaml_opcUa,
        yaml_user,

        csv_SysStatus,
        csv_plc,

yaw_upload,
pitch_upload,
torque_upload,


       ]

if __name__ == '__main__':
    # start_server(list, port=8000, debug=False, host='::')
    start_server(pywebioList, port=8000, debug=False)


# http://192.168.31.189:8000/?app=yaw_hisInitialData
# https://blog.csdn.net/qq_42761569/article/details/123352838